package com.cib.web;

import org.springframework.web.bind.annotation.*;

import java.util.Map;

/**
 * @描述:
 * @Author: zhangh
 * @Time: 2021/9/6 12:18
 **/
@RestController
public class TestController {
    @PostMapping("test")
    public String test(ObjectVo object){
        System.out.println(object);

        return "success!";

    }

    static class ObjectVo{
        private String name;
        private String age;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAge() {
            return age;
        }

        public void setAge(String age) {
            this.age = age;
        }
    }

}
